package parser;

import java.util.List;

import server.SimpleDB;
import storage.transaction.Transaction;

public class DropTableData extends ManipulateData {

private List<String> tbl_names;
	
	public DropTableData(List<String> n) {
		tbl_names = n;
	}
	
	public List<String> tableName() {
		return tbl_names;
	}
	
	@Override
	public int execute(Transaction tx) {
		return SimpleDB.uplanner().executeDropTable(this, tx);
	}

}
